package com.jvup.common.constant;

import com.jvup.common.BuildConfig;

/**
 * 接口请求地址
 */
public class Url {

    //测试接口：qrcomic.com
    //线上接口：qiremanhua.com
    private static final String domainRoot = BuildConfig.domainRoot;
    private static final String domain = "http://www."+ domainRoot;
    private static final String v1 = domain;        // + "/v1";
    public static final String domain_m = "http://m." + domainRoot;


    //--------------------------------1.0版本-------------------------------------------

    // 首页页面数据
    public static final String homePageAPI = v1 + "/home";

    // 手机注册接口
    public static final String registerAPI = v1 + "/user/register";
    // 手机登录接口
    public static final String phoneLoginAPI = v1 + "/user/login";
    // 微信登录接口
    public static final String weChatLoginAPI = v1 + "/user/wechatLogin";
    // QQ登录接口
    public static final String qqLoginAPI = v1 + "/user/qqLogin";


    //----------------------------3.0版本更新结束----------------------------------------

    //用户协议
    public static final String userProtocol_url = "https://res.qiremanhua.com/app/protocol/user.html";
    //未成年人协议
    public static final String underagedProtocol_url = "https://res.qiremanhua.com/app/protocol/underaged.html";

    //服务条款——入口弹窗
    public static final String dialog_serviceTerms_url = "https://res.qiremanhua.com/app/protocol/duty.html";
    //隐私协议——入口弹窗
    public static final String dialog_privacyPolicy_url = "https://res.qiremanhua.com/app/protocol/privacy.html";
    //整合协议——入口弹窗
    public static final String dialog_integration_url = "https://res.qiremanhua.com/app/protocol/terms.html";

}
